package com.zfskkk.democonsumerfeign;

import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author zhangfoshou
 * @date 2018/11/13 16:18
 */
@Component
public class ErrorHandler implements IHello {
    @Override
    public String sayHi(@RequestParam(name = "name", defaultValue = "rrrrrrrrrr") String name) {
        return "error" + name;
    }
}
